package com.huluobo.mvvm.db.eneity;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 创建用户余额的表
 * Created by LC on 2023/9/16.
 */
@Entity(tableName = "user_money")
public class Money {
    @PrimaryKey(autoGenerate = true)
    public long id;

    @ColumnInfo(name = "user_name")
    public String username;

    @ColumnInfo(name = "money")
    public float money;

    public Money(String username, float money) {
        this.username = username;
        this.money = money;
    }
}
